<!-- 必须全局拥有唯一的id -->
<div id="echainfreedate">
    <el-card class="box-card">
        <div slot="header" class="clearfix">
            <span>{{ $t('freedate.gzrlsz') }}</span>
        </div>
        <Calendar ref="Calendar" :mark-array="freeDays" @changemonth="changeMonth" @choseday="selectDay"></Calendar>
    </el-card>
    <el-card class="box-card">
        <div slot="header" class="clearfix">
            <span>{{ $t('freedate.rlcsh') }}</span>
        </div>
        <el-row>
            <el-col :span="8">
                &nbsp;
            </el-col>
            <el-col :span="8">
                <el-input v-model="initYear" :placeholder="$t('freedate.qsrnf')"></el-input>
            </el-col>
            <el-col :span="8">
                &nbsp;&nbsp;
                <el-button type="primary" @click="initFreeDate">{{ $t('freedate.csh') }}</el-button>
            </el-col>
        </el-row>
    </el-card>
</div>